package com.bsoft.rpc.basic.serialization;

public interface Serialization {

    <T> byte[] serialize(T obj);

    <T> T deserialize(byte[] data, Class<T> clz);

}
